<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="hmg.vo.BoardVO"%>
<%@ page import="java.util.List"%>
<%-- 
    JSP Name : jspName.jsp
    Description : 설명을 기술합니다.
    author Kim hyung soo
    since 2012. 9. 20.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 9. 20.     Kim hyung soo     최초 생성
--%>
<%
    List<BoardVO> vodList = (List<BoardVO>) request.getAttribute("VodList");

    if (vodList == null || vodList.size() == 0)
        out.println("                                <div style=\"text-align:center;\">검색된 게시물이 없습니다.</div>");
    else {
        for (int idx = 0; idx < vodList.size(); idx++) {
            BoardVO vod = vodList.get(idx);

            if (idx + 1 < vodList.size())
                out.println("                                <dl>");
            else
                out.println("                                <dl class=\"last\">");
%>
                                <dt><a href="#" onclick="javascript:fn_play_movie(<%= vod.getListID() %>);" class="vod_layOpen"><%= vod.getTitle() %></a></dt>
                                <dd class="etc_information"><span>영상갤러리</span> <%= vod.getRegDate() %></dd>
                                <dd class="video-play"><a href="#" onclick="javascript:fn_play_movie(<%= vod.getListID() %>);" class="vod_layOpen"><span>VIDEO PLAY</span></a></dd>
                                <dd class="gallery_image"><a href="#" onclick="javascript:fn_play_movie(<%= vod.getListID() %>);" class="vod_layOpen"><img src="<%= vod.getThumbnailImage() %>" style="width:146px; height:146px; border:0px;" alt="영상갤러리 검색결과 이미지"/></a></dd>
                            </dl>
<%
        }
    }
%>
